//
//  ICMGetCarRepairEventTableViewCell.h
//  ICrEAM
//
//  Created by FoREVer_SaD on 16/11/1.
//  Copyright © 2016年 mac. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ICMRepairMaintenanceModel.h"

@protocol ICMGetCarRepairEventTableViewCellDelegate <NSObject>

- (void)deleteRepairEventCellAtIndexPath:(NSIndexPath *)indexPath;
@optional
//如果维修类型和描述变化后调用此方法
- (void)repairEventRepairTypeAndTroubleDescChanged;

@end

@interface ICMGetCarRepairEventTableViewCell : UITableViewCell

@property (nonatomic, assign) NSInteger order;

@property (nonatomic, strong) NSMutableArray *repairTypes;

@property (nonatomic, weak) id<ICMGetCarRepairEventTableViewCellDelegate> delegate;

@property (nonatomic, strong) ICMRepairMaintenanceModel *model;

@property (nonatomic, strong) UILabel *orderLabel;

@property (nonatomic, strong) UILabel *eventNumberLabel;

@property (nonatomic, strong) UILabel *eventNameLabel;

@property (nonatomic, strong) UITextField *workingTimeLabel;

@property (nonatomic, strong) UILabel *priceLabel;

@property (nonatomic, strong) UILabel *workingPriceLabel;

@property (nonatomic, strong) UILabel *repairTypeLabel;

@property (nonatomic, strong) UITextField *breakdownDiscribeTextField;
//

@property (nonatomic, strong) NSString *SERIES_LABOUR_PRICE;//车系单价

@property (nonatomic)BOOL isStation;
@property (nonatomic, strong) UIImageView *icon;
@property (nonatomic, strong) UIButton *operateButton;

- (void)setupLabelsWithModel:(ICMRepairMaintenanceModel *)model;

@end
